6.7
MEDIUM CVSS 3.1
CVE-2021-4178
Kubernetes Fabric 8 YAML Parsing Arbitrary Code Execution Vulnerability
Description

A arbitrary code execution flaw was found in the Fabric 8 Kubernetes client affecting versions 5.0.0-beta-1 and above. Due to an improperly configured YAML parsing, this will allow a local and privileged attacker to supply malicious YAML.

INFO

Published Date :

Aug. 24, 2022, 4:15 p.m.

Last Modified :

Nov. 21, 2024, 6:37 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2021-4178 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat fuse
2 Redhat process_automation
3 Redhat build_of_quarkus
4 Redhat integration_camel_k
5 Redhat openshift_application_runtimes
6 Redhat integration_camel_quarkus
7 Redhat descision_manager
8 Redhat a-mq_streams
9 Redhat fabric8-kubernetes
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
A YAML parsing vulnerability exists, allowing arbitrary code execution.
  • Update the affected product to a non-vulnerable version.
  • Apply the latest security patches.
Public PoC/Exploit Available at Github

CVE-2021-4178 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-4178.

URL Resource
https://access.redhat.com/security/cve/CVE-2021-4178 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2034388 Issue Tracking Vendor Advisory
https://github.com/advisories/GHSA-98g7-rxmf-rrxm Third Party Advisory
https://github.com/fabric8io/kubernetes-client/issues/3653 Issue Tracking Third Party Advisory
https://access.redhat.com/security/cve/CVE-2021-4178 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2034388 Issue Tracking Vendor Advisory
https://github.com/advisories/GHSA-98g7-rxmf-rrxm Third Party Advisory
https://github.com/fabric8io/kubernetes-client/issues/3653 Issue Tracking Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-4178 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-4178 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Java Makefile Go Shell Batchfile

Updated: 1 week, 5 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 17, 2025, 9:20 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-4178 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-4178 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/security/cve/CVE-2021-4178
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2034388
    Added Reference https://github.com/advisories/GHSA-98g7-rxmf-rrxm
    Added Reference https://github.com/fabric8io/kubernetes-client/issues/3653
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Oct. 04, 2022

    Action Type Old Value New Value
    Changed Reference Type https://github.com/fabric8io/kubernetes-client/issues/3653 Third Party Advisory https://github.com/fabric8io/kubernetes-client/issues/3653 Issue Tracking, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:redhat:fabric8-kubernetes:5.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.0.1 up to (excluding) 5.0.3 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.1.0 up to (excluding) 5.1.2 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.2.0 up to (excluding) 5.3.2 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (excluding) 5.7.4 *cpe:2.3:a:redhat:fabric8-kubernetes:5.8.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.9.0 up to (excluding) 5.11.2 OR *cpe:2.3:a:redhat:fabric8-kubernetes:5.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.0.1 up to (excluding) 5.0.3 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.1.0 up to (excluding) 5.1.2 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.2.0 up to (excluding) 5.3.2 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (excluding) 5.7.4 *cpe:2.3:a:redhat:fabric8-kubernetes:5.8.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.9.0 up to (excluding) 5.10.2 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.11.0 up to (excluding) 5.11.2
  • Initial Analysis by [email protected]

    Aug. 29, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2021-4178 No Types Assigned https://access.redhat.com/security/cve/CVE-2021-4178 Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2034388 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2034388 Issue Tracking, Vendor Advisory
    Changed Reference Type https://github.com/advisories/GHSA-98g7-rxmf-rrxm No Types Assigned https://github.com/advisories/GHSA-98g7-rxmf-rrxm Third Party Advisory
    Changed Reference Type https://github.com/fabric8io/kubernetes-client/issues/3653 No Types Assigned https://github.com/fabric8io/kubernetes-client/issues/3653 Third Party Advisory
    Added CWE NIST CWE-502
    Added CPE Configuration OR *cpe:2.3:a:redhat:fabric8-kubernetes:5.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.0.1 up to (excluding) 5.0.3 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.1.0 up to (excluding) 5.1.2 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.2.0 up to (excluding) 5.3.2 *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (excluding) 5.7.4 *cpe:2.3:a:redhat:fabric8-kubernetes:5.8.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* versions from (including) 5.9.0 up to (excluding) 5.11.2
    Added CPE Configuration OR *cpe:2.3:a:redhat:a-mq_streams:2.0.1:*:*:*:*:*:*:* *cpe:2.3:a:redhat:build_of_quarkus:2.2.5:*:*:*:*:*:*:* *cpe:2.3:a:redhat:descision_manager:7.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:fuse:7.11:*:*:*:*:*:*:* *cpe:2.3:a:redhat:integration_camel_k:-:*:*:*:*:*:*:* *cpe:2.3:a:redhat:integration_camel_quarkus:2.2.1:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_application_runtimes:-:*:*:*:*:*:*:* *cpe:2.3:a:redhat:process_automation:7.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} -0.01%

score

0.21908

percentile